package com.ssy.entity;

import java.io.Serializable;

/**
 * Course
 *
 * @author ssy
 * @date 2020/11/11
 **/
public class Course implements Serializable {
    private static final long serialVersionUID = -1321286522954435552L;

    private int courseId;

    /**
     * 课程号
     */
    private int number;

    /**
     * 课程名
     */
    private String name;

    /**
     * 学时
     */
    private int classHours;

    /**
     * 学分
     */
    private int credit;

    public Course() {
    }

    public Course(int courseId, int number, String name, int classHours, int credit) {
        this.courseId = courseId;
        this.number = number;
        this.name = name;
        this.classHours = classHours;
        this.credit = credit;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getClassHours() {
        return classHours;
    }

    public void setClassHours(int classHours) {
        this.classHours = classHours;
    }

    public int getCredit() {
        return credit;
    }

    public void setCredit(int credit) {
        this.credit = credit;
    }
}
